//
//  PBLogic.m
//  OneStoreFramework
//
//  Created by Aimy on 14-6-24.
//  Copyright (c) 2014年 OneStore. All rights reserved.
//

#import "NetworkLogic.h"

@interface NetworkLogic ()

@property (nonatomic, strong) NetworkOperationManager *operationManger;

@end

@implementation NetworkLogic

+ (id)logicWithNetworkOperationManager:(NetworkOperationManager *)aOperationManger {
    NetworkLogic *logic = [[self alloc] init];
    logic.operationManger = aOperationManger;
    logic.loading = NO;
    return logic;
}

- (void)dealloc {
    [[NSNotificationCenter defaultCenter] removeObserver:self];
}

@end
